<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<link rel="stylesheet"
	href="<c:url value="/resources/lib/bootstrap-3.3.5/css/bootstrap.min.css"/>" />
	<link href="/resources/lib/font-awesome-4.4.0/css/font-awesome.min.css"
	rel="stylesheet" type="text/css" />
	<link href="/resources/css/header.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet"
	href="<c:url value="/resources/css/common.css"/>" />
<link rel="stylesheet"
	href="<c:url value="/resources/css/task/logDetail.css"/>" />
	
<script src="<c:url value="/resources/lib/jquery-2.1.4.min.js" />"
	type="text/javascript"></script>
<script
	src="<c:url value="/resources/lib/bootstrap-3.3.5/js/bootstrap.min.js" />"
	type="text/javascript"></script>
<script
	src="<c:url value="/resources/lib/angular-1.4.7/angular.min.js"/>"
	type="text/javascript">
	
</script>
<script src="<c:url value="/resources/js/task/logDetail.js" />"
	type="text/javascript"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>view log detail</title>
</head>
<body ng-app="conversionTool">
<ng-include src="'/resources/viewPart/nav.html'" >
	
	</ng-include>
	<header>
	    <div class="head-line">
		<h3 class="head-title">View Log Detail</h3>
		</div>
	</header>

	<section class="container" ng-controller="logDetailCtrl">
<form class="form-horizontal text-center">
		<div class="form-group text-center form-line">
		<div class="col-xs-4 text-right">
		<label for="LogName">Log Name</label> 
		</div>
		<div class="col-xs-8">
		<input type="text" class="form-control" id="LogName" name="LogName" value="${log.logName }" disabled placeholder="Log Name" />
		</div>
		</div>

		<div class="form-group text-center form-line">
		    <div class="col-xs-4 text-right">
			<label for="LogDate">Time</label> 
			</div>
			
			<div class="col-xs-8">
			<input type="text"
				class="form-control" id="LogDate" name="LogDate"
				value="${log.dateTime }" disabled placeholder="Log time" />
		</div>
		</div>

		<div class="form-group text-center form-line">
		  <div class="col-xs-4 text-right">
			<label for="description">Log Detail</label>
			</div>
			<div class="col-xs-8">
			<textarea id="description" class="form-control" name="description"
				disabled>${log.logDetail}</textarea>
		</div>
		</div>


		<div class="col-md-12 text-center form-group">{{msg}}</div>
		
		<div class="form-group text-center form-line">
             <div class="col-xs-4 text-right"></div>
             <div class="col-xs-8 text-right">
			<input type="submit" value="Back" class="btn btn-primary"
				ng-click="back()" />
		</div>
		</div>
		</form>
	</section>


</body>
</html>